package main

import "fmt"

func gen(name string) {
	defer func() {
		fmt.Println(11111)
	}()
	if name == "zhanglin" {
		return
	}

	fmt.Println(22222)
}

func main() {
	gen("zhanglin")
}
